package com.example.demo.practice;

public class info {
    private String id; //信息ID
    private String title;   //信息标题
    private String text;  //内容信息
    private int avatar; //图片ID



    //信息ID处理函数
    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }
    //标题
    public void setTitle(String title) {
        this.title = title;
    }
    public String getTitle() {
        return title;
    }
    public void setText(String text) {
        this.text = text;
    }
    public String getText() {
        return text;
    }

    //图片
    public void setAvatar(int avatar) {
        this.avatar = avatar;
    }
    public int getAvatar() {
        return avatar;
    }


}
